package com.service.impl;

import com.dao.impl.UserDaoImpl;
import com.dao.UserDao;
import com.service.UserService;
import com.entry.User;

import java.util.ArrayList;

public class UserServiceImpl implements UserService {
    private UserDao userDao = new UserDaoImpl();
    @Override
    public ArrayList selectUser(User user) {
        return userDao.selectUser(user);
    }

    @Override
    public ArrayList selectUserByID(User user) {
        return userDao.selectUserByID(user);
    }
}
